import java.util.Date;

public class Main{
    public static void main(String[] args) {
        ExpenseManager expenseManager = new ExpenseManager();

        expenseManager.addIncome(new Date(), 5000, "工资", "本月工资");
        expenseManager.addIncome(new Date(), 1000, "奖金", "季度奖金");

        expenseManager.addExpense(new Date(), 200, "餐饮", "午餐");
        expenseManager.addExpense(new Date(), 50, "交通", "公交车费");

        System.out.println("总收入: " + expenseManager.getTotalIncome());
        System.out.println("总支出: " + expenseManager.getTotalExpense());
    }
}